package com.mojo.aspectbased;

import org.springframework.stereotype.Service;

/**
 * @author <a href="mailto:sjj@jianzhimao.com">mojo</a>
 * copyright (C), 2013-2021, 广州九尾信息科技有限公司
 * @date 2021/6/21 9:49
 */
@Service
public class LoginServiceImpl implements LoginService {
    //切入点
    @Override
    public void login() {
        System.out.println("登录。。。");
        try {
            throw new RuntimeException("抛出异常");
        } catch (Exception e) {
            System.out.println(e);
        }
    }
}
